package com.suning.sawp.dto.aircondition;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class AirConditionConstants {

    public static final Map<String, String> BRAND_MAP = new HashMap<String, String>();

    public static final List<String> BRAND_CODE_LIST = new ArrayList<String>();

    public static final Map<String, String> HOUSE_TYPE_MAP = new HashMap<String, String>();

    public static final Map<String, List<RoomType>> HOUSE_ROOMNAME_MAP = new HashMap<String, List<RoomType>>();

    public static final List<String> HOUSE_TYPE_LIST = new ArrayList<String>();

    public static final Map<String, String> PLACE_MAP = new HashMap<String, String>();
    
    public static final Map<Integer, String> MONTH_MAP = new HashMap<Integer, String>();

    public static final List<String> PLACE_LIST = new ArrayList<String>();

    private AirConditionConstants() {

    }

    static {

        BRAND_MAP.put("DAJIN", "大金");
        BRAND_MAP.put("GELI", "格力");
        BRAND_MAP.put("MEIDI", "美的");
        BRAND_MAP.put("HAIER", "海尔");
        BRAND_MAP.put("RILI", "日立");

        BRAND_MAP.put("AOKESI", "奥克斯");
        BRAND_MAP.put("HAIXIN", "海信");
        BRAND_MAP.put("SANLING", "三菱");
        BRAND_MAP.put("SONGXIA", "松下");
        BRAND_MAP.put("ZHIGAO", "志高");

        BRAND_MAP.put("YUEKE", "约克");
        BRAND_MAP.put("XINKE", "新科");
        BRAND_MAP.put("KAILI", "开利");
        BRAND_MAP.put("ALDES", "aldes");
        BRAND_MAP.put("HUIZHONG", "汇中");

        BRAND_MAP.put("HUILIN", "惠麟");
        BRAND_MAP.put("CHUANDAO", "川岛");
        BRAND_MAP.put("CHUANGYUAN", "创元");
        BRAND_MAP.put("HUANDUTUOPU", "环都拓普");
        BRAND_MAP.put("MAIKEWEIER", "麦克维尔");

        BRAND_CODE_LIST.add("DAJIN");
        BRAND_CODE_LIST.add("GELI");
        BRAND_CODE_LIST.add("MEIDI");
        BRAND_CODE_LIST.add("HAIER");
        BRAND_CODE_LIST.add("RILI");

        BRAND_CODE_LIST.add("AOKESI");
        BRAND_CODE_LIST.add("HAIXIN");
        BRAND_CODE_LIST.add("SANLING");
        BRAND_CODE_LIST.add("SONGXIA");
        BRAND_CODE_LIST.add("ZHIGAO");

        BRAND_CODE_LIST.add("YUEKE");
        BRAND_CODE_LIST.add("XINKE");
        BRAND_CODE_LIST.add("KAILI");
        BRAND_CODE_LIST.add("ALDES");
        BRAND_CODE_LIST.add("HUIZHONG");

        BRAND_CODE_LIST.add("HUILIN");
        BRAND_CODE_LIST.add("CHUANDAO");
        BRAND_CODE_LIST.add("CHUANGYUAN");
        BRAND_CODE_LIST.add("HUANDUTUOPU");
        BRAND_CODE_LIST.add("MAIKEWEIER");

        HOUSE_TYPE_LIST.add("2-1");
        HOUSE_TYPE_LIST.add("2-2");
        HOUSE_TYPE_LIST.add("3-1");
        HOUSE_TYPE_LIST.add("3-2");
        HOUSE_TYPE_LIST.add("4-1");
        HOUSE_TYPE_LIST.add("4-2");

        HOUSE_TYPE_MAP.put("2-1", "2室1厅");
        HOUSE_TYPE_MAP.put("2-2", "2室2厅");
        HOUSE_TYPE_MAP.put("3-1", "3室1厅");
        HOUSE_TYPE_MAP.put("3-2", "3室2厅");
        HOUSE_TYPE_MAP.put("4-1", "4室1厅");
        HOUSE_TYPE_MAP.put("4-2", "4室2厅");

        PLACE_LIST.add("0");
        PLACE_LIST.add("1");
        PLACE_LIST.add("2");

        PLACE_MAP.put("0", "室内机");
        PLACE_MAP.put("1", "室外机");
        PLACE_MAP.put("2", "套机");

        // 0：客餐厅；1：主卧；2：次卧；3：书房；4：其他；5：客房；
        // 2室1厅、2室2厅 ： 客餐厅 主卧 次卧
        // 3室1厅、3室2厅： 客餐厅 主卧 次卧 书房
        // 4室1厅、4室2厅 ： 客餐厅 主卧 次卧 客房 书房

        RoomType roomType0 = new RoomType();
        roomType0.setRoomName("客餐厅");
        roomType0.setRoomType("0");

        RoomType roomType1 = new RoomType();
        roomType1.setRoomName("主卧");
        roomType1.setRoomType("1");

        RoomType roomType2 = new RoomType();
        roomType2.setRoomName("次卧");
        roomType2.setRoomType("2");

        RoomType roomType3 = new RoomType();
        roomType3.setRoomName("书房");
        roomType3.setRoomType("3");

        RoomType roomType5 = new RoomType();
        roomType5.setRoomName("客房");
        roomType5.setRoomType("5");

        List<RoomType> room2_1 = new ArrayList<RoomType>();
        room2_1.add(roomType0);
        room2_1.add(roomType1);
        room2_1.add(roomType2);

        List<RoomType> room2_2 = new ArrayList<RoomType>();
        room2_2.add(roomType0);
        room2_2.add(roomType1);
        room2_2.add(roomType2);

        List<RoomType> room3_1 = new ArrayList<RoomType>();
        room3_1.add(roomType0);
        room3_1.add(roomType1);
        room3_1.add(roomType2);
        room3_1.add(roomType3);

        List<RoomType> room3_2 = new ArrayList<RoomType>();
        room3_2.add(roomType0);
        room3_2.add(roomType1);
        room3_2.add(roomType2);
        room3_2.add(roomType3);

        List<RoomType> room4_1 = new ArrayList<RoomType>();
        room4_1.add(roomType0);
        room4_1.add(roomType1);
        room4_1.add(roomType2);
        room4_1.add(roomType3);
        room4_1.add(roomType5);

        List<RoomType> room4_2 = new ArrayList<RoomType>();
        room4_2.add(roomType0);
        room4_2.add(roomType1);
        room4_2.add(roomType2);
        room4_2.add(roomType3);
        room4_2.add(roomType5);

        HOUSE_ROOMNAME_MAP.put("2-1", room2_1);
        HOUSE_ROOMNAME_MAP.put("2-2", room2_2);
        HOUSE_ROOMNAME_MAP.put("3-1", room3_1);
        HOUSE_ROOMNAME_MAP.put("3-2", room3_2);
        HOUSE_ROOMNAME_MAP.put("4-1", room4_1);
        HOUSE_ROOMNAME_MAP.put("4-2", room4_2);
        
        MONTH_MAP.put(1, "1月");
        MONTH_MAP.put(2, "2月");
        MONTH_MAP.put(3, "3月");
        MONTH_MAP.put(4, "4月");
        MONTH_MAP.put(5, "5月");
        MONTH_MAP.put(6, "6月");
        MONTH_MAP.put(7, "7月");
        MONTH_MAP.put(8, "8月");
        MONTH_MAP.put(9, "9月");
        MONTH_MAP.put(10, "10月");
        MONTH_MAP.put(11, "11月");
        MONTH_MAP.put(12, "12月");

    }

    public interface BRANDCON {
        String DAJIN = "DAJIN";
        String GELI = "GELI";
        String MEIDI = "MEIDI";
        String HAIER = "HAIER";
        String RILI = "RILI";

        String AOKESI = "AOKESI";
        String HAIXIN = "HAIXIN";
        String SANLING = "SANLING";;
        String SONGXIA = "SONGXIA";
        String ZHIGAO = "ZHIGAO";

        String YUEKE = "YUEKE";
        String XINKE = "XINKE";
        String KAILI = "KAILI";
        String ALDES = "ALDES";
        String HUIZHONG = "HUIZHONG";

        String HUILIN = "HUILIN";
        String CHUANDAO = "CHUANDAO";
        String CHUANGYUAN = "CHUANGYUAN";
        String HUANDUTUOPU = "HUANDUTUOPU";
        String MAIKEWEIER = "MAIKEWEIER";
    }

    public interface AIRCON {
        /*
         * 室内机
         */
        String SHINEIJI = "0";
        /*
         * 室外机
         */
        String SHIWAIJI = "1";
        /*
         * 套机
         */
        String TAOJI = "2";

        String QITA = "QITA";
        
        String QITA2 = "QITA2";

        /*
         * 默认购物形式
         */
        String DANJI_SHOP = "0";
        
        /*
         * 默认购物形式
         */
        String TAOJI_SHOP = "1";

        /*
         * 短信预约模板类型
         */
        String SMS_ORDER_TYPE = "0";

        /*
         * 短信模板类型
         */
        String SMS_TYPE = "1";

        /*
         * 订单状态 定制中 
         */
        String IN_DINGZHI = "0";
        

        /*
         * 方案状态 未购买
         */
        String WEIGOUMAI = "1";
        
        /*
         *方案类型定制
         */
        String SCHEME_TYPE_DINGZHI = "1";
        
        /*
         *方案类型普通
         */
        String SCHEME_TYPE_NORMAL = "0";
        
        String SHIWAIJI_ROOM_TYPE = "6";
        
        String SHIWAIJI_ROOM_NAME = "室外机";
    }
}
